#pragma once
#include "afxwin.h"
#include "WordDisplayObj.h"


// CDlgEditWord dialog
class CShapeCmd;
class CDlgEditWord : public CDialogEx
{
	DECLARE_DYNAMIC(CDlgEditWord)

public:
	CDlgEditWord(int posX, int posY,CWordDisplayObj* pWordDisplayObj,CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgEditWord();

// Dialog Data
	enum { IDD = IDD_EDITWORD_DLG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();
	DECLARE_MESSAGE_MAP()
public:
	CEdit m_editWordText;
public:
	afx_msg void OnBnClickedOk();
	afx_msg void OnBnClickedCancel();
private:
	int m_dlgPosX;
	int m_dlgPosY;
	CWordDisplayObj* m_pWordDisplayObj;
	CShapeCmd *m_pShapeCmd;
};
